﻿using System;
using Autodesk.Revit.DB;

namespace YJKRevitBeam.SplitBream
{
	internal class SplitBreamInfo
	{
		public override bool Equals(object obj)
		{
			SplitBreamInfo splitBreamInfo = obj as SplitBreamInfo;
			return (this.m_splitPoint - splitBreamInfo.m_splitPoint).GetLength() - 0.00984251968503937 < 0.0;
		}

		public override int GetHashCode()
		{
			return this.GetHashCode();
		}

		public XYZ m_splitPoint;

		public Element m_splitElement;

		public double m_dRatio;

		public const double MINLENGTH = 0.00984251968503937;
	}
}
